/**
 * @Author DengJia
 * @Date 2021/8/18 22:14
 * @Description
 */

public class Cla {
    private String name;
    private Stu stu;

    public Cla() {
    }

    public Cla(String name, Stu stu) {
        this.name = name;
        this.stu = stu;
    }

    @Override
    public String toString() {
        stu = stu == null ? new Stu() : stu;
        return "Cla{" +
                "name='" + name + '\'' +
                ", stu=" + stu +
                '}';
    }
}
